package com.project.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.demo.entity.Product;
import com.project.demo.entity.Useproduct;
import java.util.Date;

import lombok.Data;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;


import java.util.List;

public interface UseproductMapper extends BaseMapper<Useproduct> {
    @Delete("delete from statistics.useproduct where id=#{id}")
    Integer deleteVo(Integer id);
    @Insert("insert into useproduct values(null,#{sname},#{sperson},#{speople},#{zczt},#{sbegint},#{scondition})")
    Integer insertVo(Integer id, String sname, String sperson, String speople, String zczt, String sbegint,String scondition);

}
